Skip to content

SDK regeneration - #55

Merged
jordanalexmeyer merged 3 commits into
mainfrom
fern-bot/2026-06-18_18-54-32_985
Jun 18, 2026
Merged

SDK regeneration#55
jordanalexmeyer merged 3 commits into
mainfrom
fern-bot/2026-06-18_18-54-32_985

Conversation

@fern-api

@fern-api fern-api Bot commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

Automated SDK generation by Fern

fern-api Bot and others added 3 commits June 18, 2026 18:54
Generated by Fern
CLI Version: unknown
Generators:
  - fernapi/fern-java-sdk: 3.34.8
The SDK regeneration renamed the generated top-level clients to *Base
(client-class-name: ExtendClientBase, exported-client-class-name: ExtendClient).
This adds the hand-written public classes that keep the historical type names
so customer code compiles unchanged:

- ExtendClient / ExtendClientBuilder (extend *Base, carry polling + webhooks)
- AsyncExtendClient / AsyncExtendClientBuilder, RawExtendClient, AsyncRawExtendClient
- ExtendClientWrapper is now a @deprecated thin subclass of ExtendClient
- .fernignore protects the hand-written classes from future regeneration

Builder setters use covariant return types so fluent chains and build() keep
returning the concrete types. Exception names stay ExtendClient*Exception.
- ExtendClientBuilder/AsyncExtendClientBuilder: the overridden build() bypassed
  the base builder's null-token check + validateConfiguration() (token is private
  in the base). Track a shadow token (initialized from EXTEND_API_KEY) and re-run
  the same fail-fast + validation, so missing-credential construction fails with
  the helpful message instead of a later opaque 401.
- ExtendClient/AsyncExtendClient: memoize the RawExtendClient returned by
  withRawResponse() to match the base client's cached-instance behavior.
- ExtendClient: drop unused Environment/OkHttpClient imports (spotless-clean).
@jordanalexmeyer
jordanalexmeyer merged commit ae97d6d into main Jun 18, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant